#define  _CRT_SECURE_NO_WARNINGS	1
#include "Seqlist.h"
void test()
{
	SL s;
	Seqnit(&s);
    Seqpushback(&s,1);
	Seqpushback(&s,2);
	Seqpushback(&s,3);
	Seqpushback(&s,4);
	Seqpushback(&s, 5);
	Seqpushback(&s, 6);
	Seqpushback(&s, 6);
	Seqpushback(&s, 6);
	Seqpushback(&s, 6);

	int i = 0;
	for (i = 0; i < s.size; i++)
	{
		printf("%d ", s.arr[i]);
	}
	printf("\n");
	printf("%d\n",s.capacity);
}
int main()
{
	test();
	return 0;
}
